.TH std::experimental::ranges::identity 3 "2024.06.10" "http://cppreference.com" "C++ Standard Libary"
.SH NAME
std::experimental::ranges::identity \- std::experimental::ranges::identity

.SH Synopsis
   Defined in header <experimental/ranges/functional>
   struct identity;                                    (ranges TS)

   ranges::identity is a function object type whose operator() returns its argument
   unchanged. It is used as the default projection for all Ranges TS algorithms.

.SH Member functions

   operator() returns the argument unchanged
              \fI(public member function)\fP

std::experimental::ranges::identity::operator()

   template< class T >
   constexpr T&& operator()( T&& t ) const noexcept;

   Returns std::forward<T>(t).

.SH Parameters

   t - argument to return

.SH Return value

   std::forward<T>(t).

.SH Example

    This section is incomplete
    Reason: no example

.SH Category:
     * Todo no example
